package com.example.kotlinExample.vo

import com.example.kotlinExample.enum.ResultCode

/**
 *
 *
 * @author liliang
 */
data class ResultVO<T> constructor(var code: Int, var msg: String, var data: T) {

    constructor(resultCode: ResultCode,data: T):this(resultCode.code, resultCode.msg, data)

    constructor(data: T): this(ResultCode.SUCCESS, data)
}